﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace FanaticRock.MediaSource.BilibiliAPI.ResponseDto.Fav.Folder.Created
{
    public class ListAllResponseDto : BaseResponseDto
    {
        public class ListItemDto
        {
            [JsonPropertyName("id")]
            public long Id { get; set; }

            [JsonPropertyName("fid")]
            public long FId { get; set; }

            [JsonPropertyName("mid")]
            public long Mid { get; set; }

            [JsonPropertyName("attr")]
            public int Attribute { get; set; }

            [JsonPropertyName("title")]
            public string Title { get; set; }

            [JsonPropertyName("fav_state")]
            public int FavState { get; set; }

            [JsonPropertyName("media_count")]
            public int MediaCount { get; set; }
        }


        public class DataDto
        {
            [JsonPropertyName("count")]
            public long Count { get; set; }

            [JsonPropertyName("list")]
            public ListItemDto[] List { get; set; }

        }

        [JsonPropertyName("data")]
        public DataDto Data { get; set; }
    }


}
